<?php
class MFormSubmit extends MFormInput {

    public function __construct($name, $form) {
        parent::__construct($name, $form);
        $this->setHtmlOption('type', 'submit');
        if ($form->useFormee)
            $this->setHtmlOption('class', 'form-button');
        $this->setValue(__t('mandrill.web.form.defaultSubmitText'));
    }

}
?>
